# -*- coding:utf-8 -*-
# created by jinss

import requests

url = 'https://fanyi.baidu.com/sug'
s = input("请输入要翻译的英文单词：")
dict = {
    'kw': s
}
resp = requests.post(url, data=dict)
# 将服务器返回的内容直接处理成json
print(resp.json())
# 关掉resp
resp.close()